﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using PSE.ProcessManager.Entity.Enums;
using System.Xml;
using System.Runtime.Serialization;

namespace PSE.ProcessManager.Entity
{
    [DataContract]
    public class LogEntity
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public int ProcessID { get; set; }

        [DataMember]
        public string UserName { get; set; }
        
        [DataMember]
        public DateTime StartDate { get; set; }

        [DataMember]
        public DateTime? EndDate { get; set; }

        [DataMember]
        public string ErrorMessage { get; set; }

        [DataMember]
        public bool IsCompleted { get; set; }
    }
}